home *** CD-ROM | disk | FTP | other *** search
/ Java Primer Plus / Java Primer Plus (Waite Group Proess)(1996).iso / chapter4 / circle.java < prev    next >
Text File  |  1995-12-31  |  228b  |  20 lines

  1. // 
  2. // Java Primer Plus
  3. // Paul Tyma
  4. //
  5. // Chapter 4
  6. //
  7.  
  8.  
  9. /* the circle class */
  10. class circle {
  11.  
  12.   int radius;
  13.   int center_x;
  14.   int center_y;
  15.  
  16.   void drawCircle(int x, int cx, int cy) 
  17.     {
  18.      // code to draw a circle
  19.     }
  20.   }